package com.qinhao.loveCrowdFunding.mapper;

import com.qinhao.loveCrowdFunding.pojo.HasDonatedBySimpleInformationBO;
import com.qinhao.loveCrowdFunding.req.PayRequest;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface PayMapper {
    // 往donate表添加记录
    void addPayToDonate(PayRequest payRequest);
    // 获取已经捐赠的数目
    HasDonatedBySimpleInformationBO getHasDonated(PayRequest payRequest);
    // 添加已经捐赠的数目
    void addDonateBySimpleInformationId(PayRequest payRequest);
    // 更新已经捐赠的数目
    void updateDonateBySimpleInformationId(PayRequest payRequest);
}
